import numpy as np
import math
import matplotlib.pyplot as plt

x=np.arange(1,10,1)


y1=[ (2 + math.log(a,0.001)) for a in x]
y2=[(2 +math.log(a,0.003)) for a in x]
y3=[ (2 + math.log(a,0.005)) for a in x]
y4=[(2 +math.log(a,0.007)) for a in x]
y5=[(2 +math.log(a,0.009)) for a in x]



#plot1=plt.plot(x,y1,'-r',label="2+log0.001(x)")
#plot2=plt.plot(x,y2,'-c',label="2+log0.003(x)")
#plot3=plt.plot(x,y3,'-b',label="2+log0.005(x)")
#plot4=plt.plot(x,y4,'-g',label="2+log0.007(x)")
#plot5=plt.plot(x,y5,'-m',label="2+log0.009(x)")

plot1=plt.plot(x,y1,'-r',label="2+log0.001(x)")
plot2=plt.plot(x,y2,'-c',label="2+log0.003(x)")
plot3=plt.plot(x,y3,'-b',label="2+log0.005(x)")
plot4=plt.plot(x,y4,'-g',label="2+log0.007(x)")
plot5=plt.plot(x,y5,'-m',label="2+log0.009(x)")

plt.legend(loc='lower right')

plt.show()

v1 = math.log(1, 0.001)
print("v1:" + v1)
